package com.jia.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 * @TableName t_coordinate
 */
@TableName(value ="t_coordinate")
@Data
public class Coordinate implements Serializable {
    /**
     * 换电柜坐标表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 纬度
     */
    @TableField(value = "x")
    private String x;

    /**
     * 经度
     */
    @TableField(value = "y")
    private String y;

    /**
     * 地址表外键
     */
    @TableField(value = "aid")
    private Integer aid;

    /**
     * 创建时间
     */
    @TableField(value = "createtime")
    private Date createtime;

    /**
     * 修改时间
     */
    @TableField(value = "updatetime")
    private Date updatetime;

    /**
     * 60的总数量
     */
    @TableField(value = "sixty")
    private Integer sixty;

    /**
     * 45的总数量
     */
    @TableField(value = "forty_five")
    private Integer fortyFive;

    /**
     * 60的剩余满电数
     */
    @TableField(value = "max_sixty")
    private Integer maxSixty;

    /**
     * 45的剩余满电数
     */
    @TableField(value = "max_forty_five")
    private Integer maxFortyFive;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
